package com.ruoyi.mes.service;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.mes.domain.MesJobDone;

/**
 * 完工汇报Service接口
 * 
 * @author ruoyi
 * @date 2021-12-16
 */
public interface IMesJobDoneService 
{
    /**
     * 查询完工汇报
     * 
     * @param jobDoneUuid 完工汇报主键
     * @return 完工汇报
     */
    public MesJobDone selectMesJobDoneByJobDoneUuid(String jobDoneUuid);

    /**
     * 查询完工汇报列表
     * 
     * @param mesJobDone 完工汇报
     * @return 完工汇报集合
     */
    public List<MesJobDone> selectMesJobDoneList(MesJobDone mesJobDone);

    /**
     *新增时剩余可填报实际数量
     *
     * @param mesJobDone 实际数量汇报
     * @return 实际数量
     */
    public BigDecimal selectRemainJobDoneQty(MesJobDone mesJobDone);
    /**
     * 新增完工汇报
     * 
     * @param mesJobDone 完工汇报
     * @return 结果
     */
    public int insertMesJobDone(MesJobDone mesJobDone);

    /**
     * 修改完工汇报
     * 
     * @param mesJobDone 完工汇报
     * @return 结果
     */
    public int updateMesJobDone(MesJobDone mesJobDone);

    /**
     * 批量删除完工汇报
     * 
     * @param jobDoneUuids 需要删除的完工汇报主键集合
     * @return 结果
     */
    public int deleteMesJobDoneByJobDoneUuids(String[] jobDoneUuids);

    /**
     * 删除完工汇报信息
     * 
     * @param jobDoneUuid 完工汇报主键
     * @return 结果
     */
    public int deleteMesJobDoneByJobDoneUuid(String jobDoneUuid);
}
